from django.conf.urls import url

from CartApp import views

urlpatterns = [
    url(r'^cart/', views.cart, name='cart'),

    # 点击闪购中的+号，添加到购物车
    url(r'^addToCart/', views.addToCart, name='addToCart'),

    # 点击闪购中的-号
    url(r'^minusToCart/', views.minusToCart, name='minusToCart'),

    # 购物车中的-号实现
    url(r'subToCart/', views.subToCart, name='subToCart'),

    # 单选状态的改变
    url(r'changeStatus/', views.changeStatus, name='changeStatus'),

    # 全选
    url(r'^allSelect/', views.allSelect, name='allSelect'),

    # 购物车中的+号实现
    url(r'^plusToCart/', views.plusToCart, name='plusToCart'),
]